<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">类别ID</label>
            <div class="layui-input-block">
                <input type="text" name="pid" class="layui-input" lay-verify="required" placeholder="请输入类别ID" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">文章标题</label>
            <div class="layui-input-block">
                <input type="text" name="title" class="layui-input" lay-verify="required" placeholder="请输入文章标题" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">文章摘要</label>
            <div class="layui-input-block">
                <input type="text" name="description" class="layui-input"  placeholder="请输入文章摘要" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">content</label>
            <div class="layui-input-block">
                <textarea name="content" rows="20" class="layui-textarea editor" content placeholder="请输入content"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">文章作者</label>
            <div class="layui-input-block">
                <input type="text" name="author" class="layui-input" lay-verify="required" placeholder="请输入文章作者" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">作者邮箱</label>
            <div class="layui-input-block">
                <input type="text" name="author_email" class="layui-input" lay-verify="required" placeholder="请输入作者邮箱" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">关键字,用逗号隔开</label>
            <div class="layui-input-block">
                <input type="text" name="keywords" class="layui-input" lay-verify="required" placeholder="请输入关键字,用逗号隔开" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">article_type</label>
            <div class="layui-input-block">
                <input type="text" name="article_type" class="layui-input" lay-verify="required" placeholder="请输入article_type" value="1">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否显示,1:显示;0:不显示</label>
            <div class="layui-input-block">
                <input type="text" name="status" class="layui-input" lay-verify="required" placeholder="请输入是否显示,1:显示;0:不显示" value="1">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">附件地址</label>
            <div class="layui-input-block layuimini-upload">
                <input name="file_url" class="layui-input layui-col-xs6" lay-verify="required"  placeholder="请上传附件地址" value="">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="file_url" data-upload-number="one" data-upload-exts="*" data-upload-icon="file"><i class="fa fa-upload"></i> 上传</a></span>
                    <span><a class="layui-btn layui-btn-normal" id="select_file_url" data-upload-select="file_url" data-upload-number="one" data-upload-mimetype="*"><i class="fa fa-list"></i> 选择</a></span>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">open_type</label>
            <div class="layui-input-block">
                <input type="text" name="open_type" class="layui-input" lay-verify="required" placeholder="请输入open_type" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">链接地址</label>
            <div class="layui-input-block">
                <input type="text" name="link" class="layui-input" lay-verify="required" placeholder="请输入链接地址" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">浏览量</label>
            <div class="layui-input-block">
                <input type="text" name="click" class="layui-input"  placeholder="请输入浏览量" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">文章预告发布时间</label>
            <div class="layui-input-block">
                <input type="text" name="publish_time" class="layui-input"  placeholder="请输入文章预告发布时间" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">sort</label>
            <div class="layui-input-block">
                <input type="text" name="sort" class="layui-input"  placeholder="请输入sort" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">文章缩略图</label>
            <div class="layui-input-block">
                <input type="text" name="thumb" class="layui-input"  placeholder="请输入文章缩略图" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">tags</label>
            <div class="layui-input-block">
                <input type="text" name="tags" class="layui-input" lay-verify="required" placeholder="请输入tags" value="">
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>